package ar.com.psicosoft.model.psicosoft;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;

/**
 * The persistent class for the fecha_interes database table.
 * 
 */
@Entity
@Table(name = "fecha_interes", schema = "psicosoft")
@NamedQuery(name = "FechaInteres.findAll", query = "SELECT f FROM FechaInteres f")
public class FechaInteres implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name = "sec_fecha_interes", sequenceName = "psicosoft.sec_fecha_interes")
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sec_fecha_interes")
	@Column(name = "\"idFechaInteres\"", unique = true, nullable = false)
	private Integer idFechaInteres;

	@Column(nullable = false, length = 2147483647)
	private String avisar;

	@Column(name = "\"cadaAno\"", length = 4)
	private String cadaAno;

	@Column(name = "\"cadaMes\"", length = 2)
	private String cadaMes;

	@Column(name = "\"cadaSemana\"", length = 2147483647)
	private String cadaSemana;

	@Column(nullable = false, length = 50)
	private String descripcion;

	@Column(name = "\"diaUnico\"")
	private Timestamp diaUnico;

	@Column(name = "\"idPersona\"", nullable = false)
	private Integer idPersona;

	public FechaInteres() {
	}

	public Integer getIdFechaInteres() {
		return this.idFechaInteres;
	}

	public void setIdFechaInteres(Integer idFechaInteres) {
		this.idFechaInteres = idFechaInteres;
	}

	public String getAvisar() {
		return this.avisar;
	}

	public void setAvisar(String avisar) {
		this.avisar = avisar;
	}

	public String getCadaAno() {
		return this.cadaAno;
	}

	public void setCadaAno(String cadaAno) {
		this.cadaAno = cadaAno;
	}

	public String getCadaMes() {
		return this.cadaMes;
	}

	public void setCadaMes(String cadaMes) {
		this.cadaMes = cadaMes;
	}

	public String getCadaSemana() {
		return this.cadaSemana;
	}

	public void setCadaSemana(String cadaSemana) {
		this.cadaSemana = cadaSemana;
	}

	public String getDescripcion() {
		return this.descripcion;
	}

	public void setDescripcion(String descripcion) {
		this.descripcion = descripcion;
	}

	public Timestamp getDiaUnico() {
		return this.diaUnico;
	}

	public void setDiaUnico(Timestamp diaUnico) {
		this.diaUnico = diaUnico;
	}

	public Integer getIdPersona() {
		return this.idPersona;
	}

	public void setIdPersona(Integer idPersona) {
		this.idPersona = idPersona;
	}

}